/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package vps;

import java.util.Properties;

/**
 *
 * @author Hue
 */
public class Download implements Task {
    private Properties params;

    @Override
    public void setProperties(Properties params) {
        this.params = params;
    }

    @Override
    public void run() {
        try {
            String url = params.getProperty("url");
            String toDir = params.getProperty("toDir");
        }
        catch(Exception ex) {
            ex.printStackTrace();
        }
    }
    
}
